using Volo.Abp.Application.Dtos;

namespace ERP.RepositoryManage.Dtos
{
    /// <summary>
    /// 装箱明细DTO
    /// </summary>
    public class PackingDetailDto : EntityDto<int>
    {
        /// <summary>
        /// 装箱ID
        /// </summary>
        public int PackingId { get; set; }

        /// <summary>
        /// 生产工单编码
        /// </summary>
        public string WorkOrderCode { get; set; } = string.Empty;

        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; } = string.Empty;

        /// <summary>
        /// 数量
        /// </summary>
        public int Num { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode { get; set; } = string.Empty;

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; } = string.Empty;

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; } = string.Empty;

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specifications { get; set; } = string.Empty;

        /// <summary>
        /// 描述
        /// </summary>
        public string Desc { get; set; } = string.Empty;
        
        /// <summary>
        /// 计划数量
        /// </summary>
        public decimal PlannedQuantity { get; set; }
        
        /// <summary>
        /// 实际数量
        /// </summary>
        public decimal ActualQuantity { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } = string.Empty;
    }
} 